package com.my.mall.client.goods.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.my.mall.client.goods.vo.GoodsCategoryClientVo;
import com.my.mall.client.goods.vo.GoodsClientVo;
import com.my.mall.client.goods.vo.ImageClientVo;

public interface GoodsClientDao {

	GoodsClientVo getGoodsInfo(@Param("id") int id);
	
	List<ImageClientVo> selectGoodsImgList(@Param("id") int id);
	
	List<GoodsClientVo> selectGoodsInfoList(@Param("categoryId") int categoryId,
			@Param("displayStart") int displayStart, @Param("displayLength") int displayLength);

	int selectGoodsInfoCount(@Param("categoryId") int categoryId);
	
	List<GoodsCategoryClientVo> selectGoodsCategoryList();

}
